package com.qf.day0614.book.mapper;

import com.qf.day0614.book.entity.Book;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.day0614.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ikun
 * @since 2023-06-14
 */
@Mapper
@Repository
public interface BookMapper extends BaseMapper<Book> {
    Book insertBooks(Book book);
    void batchInsert(List<Book> list);
}
